package com.yc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName(value = "memberinfo")
public class MemberInfo implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer mno;
    @TableField(value = "nickName")
    private String nickName;
    @TableField(value = "realName")
    private String realName;
    private String pwd;
    private String tel;
    private String email;
    private String photo;
    @TableField("regDate")
    private String regDate;
    private Integer status;


}
